using System;
using System.Data;
using System.Collections.Generic;
using System.Configuration;
using System.Web;

namespace MeetingRoom.Domain
{
    /// <summary>
    /// Summary description for Schedule
    /// </summary>
    public class Schedule
    {
        protected int id;

        protected string name;

        protected Staff applicant;

        protected Duration duration;

        protected MeetingRoomType meetingRoomType;

        protected MeetingRoom meetingRoom;

        protected int status;

        protected List<Staff> attendees;

        protected int headCount = 0;

        public Schedule()
        {
            this.attendees = new List<Staff>();
        }

        public int HeadCount
        {
            get
            {
                return this.headCount;
            }
            set
            {
                this.headCount = value;
            }
        }

        public int Id
        {
            get
            {
                return this.id;
            }
            set
            {
                this.id = value;
            }
        }

        public string Name
        {
            set
            {
                this.name = value;
            }
            get
            {
                return this.name;
            }
        }

        public Staff Applicant
        {
            get { return this.applicant; }
            set
            {
                this.applicant = value;
            }
        }

        public MeetingRoomType MeetingRoomType
        {
            get { return this.meetingRoomType; }
            set
            {
                this.meetingRoomType = value;
            }
        }

        public int Status
        {
            get
            {
                return this.status;
            }
            set
            {
                this.status = value;
            }
        }

        public Duration Duration
        {
            set
            {
                this.duration = value;
            }
            get
            {
                return this.duration;
            }
        }

        public MeetingRoom MeetingRoom
        {
            get { return this.meetingRoom; }
            set
            {
                this.meetingRoom = value;
            }
        }

        public List<Staff> Attendees
        {
            get { return this.attendees; }
        }
    }
}